import AppService from '../../common/utils/app.service'
//歌手管理
export function getQuestionList(params) {
  return AppService.getRequest(`admin/question/list`, {...params})
}
export function getQuestionDetail(id) {
    return AppService.getRequest(`admin/question/detail/${id}`)
}
export function addQuestion(params) {
    return AppService.postRequest(`admin/question/add`, {...params})
}
export function updateQuestion(params) {
    return AppService.postRequest(`admin/question/update/${params.id}`,{...params})
}
export function deleteQuestion(params) {
    return AppService.postRequest(`admin/question/del/${params.id}`, {...params})
}

